launchApp("点淘");
if(text("视频").findOne(4000)){
    text("视频").findOne(4000).parent().click()
}
if (id("gold_countdown_container").findOne(4000)) {
    id("gold_countdown_container").findOne(4000).click();
}
if(className("android.widget.Image").text("TB1PNNVrCR26e4jSZFEXXbwuXXa-500-500").findOne(2000)){
    toast("找到金蛋了｡◕‿◕｡")
    className("android.widget.Image").text("TB1PNNVrCR26e4jSZFEXXbwuXXa-500-500").findOne(3000).parent().click()
}
if(className("android.view.View").text("领取").findOne(4000)){
    className("android.view.View").text("领取").findOne(4000).parent().click()
}
if(className("android.widget.Image").text("TB1TJ.yhhvbeK8jSZPfXXariXXa-80-80").findOne(4000)){
    className("android.widget.Image").text("TB1TJ.yhhvbeK8jSZPfXXariXXa-80-80").findOne(4000).click()
}
if(className("android.widget.Image").text("TB1bXsKlxn1gK0jSZKPXXXvUXXa-116-116").findOne(4000)){
    className("android.widget.Image").text("TB1bXsKlxn1gK0jSZKPXXXvUXXa-116-116").findOne().parent().click()
}